package com.hellogood.yaohuo.shared.services;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.hellogood.yaohuo.shared.vo.QuyuVo;

@RemoteServiceRelativePath("QyOrgService")
public interface QyOrgService extends RemoteService {
	public static class Util {
		private static QyOrgServiceAsync instance;

		public static QyOrgServiceAsync getInstance() {
			if (instance == null) {
				instance = GWT.create(QyOrgService.class);
			}
			return instance;
		}
	}

	public List<QuyuVo> getAllQyOrgList();

	public String updateOrgListForQuyu(List<String> orgCodeList, String quyuCode);

	public List<QuyuVo> getQuyuOrgByStaffCode(String staffCode);
}
